package com.ruibang.glass.quality.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruibang.glass.common.domain.quality.BcStationHqDetail;
import com.ruibang.glass.common.domain.quality.GlassBindTest;
import com.ruibang.glass.quality.domain.resp.GlassHqInfo;
import com.ruibang.glass.quality.entity.Defect;

import java.time.LocalDateTime;
import java.util.List;
import java.util.Map;


public interface GlassStationService extends IService<Defect> {
    String getHotGlassId(String newGlassId);

    Map<String, LocalDateTime> getColdGlassIdMappingStationStartTime(List<String> newGlassIds);

    List<String> getColdGlassId(List<String> oldGlassIds);

    Map<String, LocalDateTime> getColdGlassIdMappingStationStartTime(List<GlassHqInfo> hqDetailByDate, List<String> coldGlassIds);

    Map<String, LocalDateTime> getHotGlassIdMappingStationStartTime(List<String> hotIds);

    Map<String, String> getColdIdMappingHotId(List<String> coldIds);

    void addHqInfoCache(BcStationHqDetail bcStationHqDetail);

    void addGlassBindTestCache(GlassBindTest glassBindTest);
}